﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

namespace Presentacion.Web
{
    public abstract class UserSession
    {
        public static String IDUsuario 
        {
            get 
            {
                return HttpContext.Current.User.Identity.Name;
            }
        }

        public DataSet DataSetSession 
        {

            get 
            {
                return (DataSet)HttpContext.Current.Session["DataSetSession"];
            }
            set 
            {
                HttpContext.Current.Session["DataSetSession"] = value;
            }
        }
    }
}
